<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>错误 - SimpleHire</title>
    <link
      th:href="@{/webjars/bootstrap/5.3.0/css/bootstrap.min.css}"
      rel="stylesheet"
    />
  </head>
  <body>
    <div class="container mt-5">
      <div class="row justify-content-center">
        <div class="col-md-6">
          <div class="card shadow">
            <div class="card-body text-center p-5">
              <h1 class="text-danger mb-4">
                <i class="fas fa-exclamation-triangle"></i> 出错啦!
              </h1>
              <p class="lead">抱歉，页面加载时发生了错误。</p>
              <p class="text-muted">请稍后再试或联系系统管理员。</p>
              <div class="mt-4">
                <a th:href="@{/dashboard}" class="btn btn-primary me-2"
                  >返回仪表板</a
                >
                <a th:href="@{/}" class="btn btn-outline-secondary">返回首页</a>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <script
      th:src="@{/webjars/bootstrap/5.3.0/js/bootstrap.bundle.min.js}"
    ></script>
    <script th:src="@{/webjars/font-awesome/6.4.0/js/all.min.js}"></script>
  </body>
</html>
